package cn.jhz.learn.blog.dao.guestbook;

import cn.jhz.learn.blog.po.guestbook.BlogGuestbook;
import org.apache.ibatis.annotations.Param;

public interface BlogGuestbookMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BlogGuestbook record);

    int insertSelective(BlogGuestbook record);

    BlogGuestbook selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlogGuestbook record);

    int updateByPrimaryKey(BlogGuestbook record);

    int updateStatusByPrimaryKey(@Param("id") Integer id, @Param("status") Byte status);
}